package com.woniuxy.propertyjava.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data

/**
 * (Patrolplan)实体类
 *
 * @author makejava
 * @since 2022-07-02 14:54:32
 */
public class Patrolplan implements Serializable {
    private static final long serialVersionUID = -82980311951873560L;
    
    private Integer id;
    
    private Integer ppstaff;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ppstarttime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ppendtime;
    
    private Integer ppway;
    private  Way way;
    private Staff staff;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPpstaff() {
        return ppstaff;
    }

    public void setPpstaff(Integer ppstaff) {
        this.ppstaff = ppstaff;
    }

    public Date getPpstarttime() {
        return ppstarttime;
    }

    public void setPpstarttime(Date ppstarttime) {
        this.ppstarttime = ppstarttime;
    }

    public Date getPpendtime() {
        return ppendtime;
    }

    public void setPpendtime(Date ppendtime) {
        this.ppendtime = ppendtime;
    }

    public Integer getPpway() {
        return ppway;
    }

    public void setPpway(Integer ppway) {
        this.ppway = ppway;
    }

}

